package com.flyme.module.file.client.event;

import com.flyme.module.file.client.entity.SysCataLog;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import javax.servlet.http.HttpServletRequest;
@Getter
public class CourseUploadEvent extends ApplicationEvent{
	
	private static final long serialVersionUID = 1L;
    private SysCataLog cataLog;
    private HttpServletRequest request;

    /**
     * 重写构造函数
     * @param source 发生事件的对象
     * @param cataLog 注册用户对象
     */
    public CourseUploadEvent(Object source, SysCataLog cataLog, HttpServletRequest request) {
        super(source);
        this.cataLog = cataLog;
        this.request=request;
    }
}
